<template>
  <div>
    <div>{{ value }}</div>
  </div>
</template>

<script>
import eventBus from '@/utils/eventBus'
export default {
  data() {
    return {
      value: '',
    }
  },
  mounted() {
    eventBus.$on('changeBus', val => {
      this.value = val
    })
  },
}
</script>

<style scoped></style>
